<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 
  <meta name="verify-v1" content="6BRPLMfj8uBE6Q/vIy1bGzrj6RQE2/2OgRw1c2fF5Kg=" />
  <title>Chief Medical Officer</title>
  <link href="/css/base.css" rel="stylesheet" type="text/css"/>
  <link href="/css/style.css" rel="stylesheet" type="text/css"/>
  <script src="http://www.google.com/jsapi" type="text/javascript"></script>
  <script src="/js/date.js" type="text/javascript"></script>
  <script type="text/javascript"> 
     google.load("jquery", "1.3.2");
     google.load("jqueryui", "1.7.2");
  </script>
  <script src="/js/jquery-templating.js" type="text/javascript"></script>
  
  {% block head %}{% endblock %}



</head>
<body >  
  <div class="wrapper">
    <div class="header">       
      <div class="logo"><a href="/"><Home><img src="/images/logo_90.png" height="60px"></a></div>
      <div class="byline">Your always available medical resource</div>
      <div class="slogan_bar">
          <div class="flash">{% if flash %} {{ flash }} {% endif %} </div>      
      </div>
      <div class="user_bar"> 
          
          {{ login_link }} 
      </div>
    </div>
    <div class="clearfix"></div> 
    <div class="tab_bar ui-widget-header ui-corner-top">
       <ul> 
         {%if logged_in  %}
            <li class="ui-tabs-nav ui-tabs"><a href="/profiles">Profile</a></li>
            <li class="ui-tabs-nav ui-tabs"><a href="/ccr">Conditions</a></li>
            <li class="ui-tabs-nav ui-tabs"><a href="/tests">Tests</a></li>
         {% endif %}
         <li class="ui-tabs-nav ui-tabs"><a href="/maps">Maps</a></li>
         <li class="ui-tabs-nav ui-tabs"><a href="/browse">News</a></li> 
         <li class="ui-tabs-nav ui-tabs"><a href="/mobile">Mobile</a></li> 
         <li class="ui-tabs-nav ui-tabs"><a href="/about">About</a></li>
       </ul>
    </div>
    <div class="wrapper contents" id="contents">
      {% block content %}{% endblock %} 
      <div id="body">{% block body %}{% endblock %}</div>
    </div>

  </div>
  <div class="footer">
     <div> This site created by a diverse set of happy code monkeys fueled by free food and occasional walks into the sun.</div>
    <div>Initial web design and App engine code provided by Chip Vanek Twitter @chipski</div>
    
  </div>
  <div class="debug_bar">
    
  </div>
  <script language="Javascript" type="text/javascript">
      //<![CDATA[
      
      $(function() {
      		$("#tab_bar").tabs();
      	});
      	 
     function OnLoad_setTabs() {
        $("#tab_bar").bind('tabsselected', function(event, ui) {
          ui.tab
          ui.panel
          ui.index
        });
     }
     //google.setOnLoadCallback(OnLoad_setTabs); 
     //]]>
  </script>              
</body>
</html>  